Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability for file.symlink to not set ownership on existing links #63106

Merged
merged 3 commits into from
Dec 2, 2022

Conversation

nicholasmhughes
Copy link
Collaborator

What does this PR do?

See issue for details.

What issues does this PR fix or reference?

Fixes: #63093

Previous Behavior

Salt would always set user/group on the link regardless if the user/group parameters were set.

New Behavior

The added inherit_user_and_group parameter allows the existing ownership to be used for existing links when user/group parameters are not used.

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes

Please review Salt's Contributing Guide for best practices.

See GitHub's page on GPG signing for more information about signing commits with GPG.

@nicholasmhughes nicholasmhughes requested a review from a team as a code owner November 23, 2022 16:36
@nicholasmhughes nicholasmhughes requested review from MKLeb and removed request for a team November 23, 2022 16:36
@nicholasmhughes nicholasmhughes added the Sulfur v3006.0 release code name and version label Nov 23, 2022
@MKLeb
Copy link
Contributor

MKLeb commented Nov 28, 2022

The failing Windows tests seem to be related. The Photon ones, however, do not.

@nicholasmhughes
Copy link
Collaborator Author

re-run pr-centos-7-x86_64-py3-m2crypto-pytest

@Ch3LL Ch3LL merged commit 67e800c into saltstack:master Dec 2, 2022
@nicholasmhughes nicholasmhughes deleted the retain-symlink-ownership branch December 2, 2022 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Sulfur v3006.0 release code name and version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE REQUEST] file.symlink should not try to set ownership
3 participants